# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
from django.conf import settings


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('secondcar', '0002_cardetail_user'),
        ('trade', '0001_initial'),
        ('user', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='orderinfo',
            name='address',
            field=models.ForeignKey(to='user.UserAddress', verbose_name='收货地址'),
        ),
        migrations.AddField(
            model_name='orderinfo',
            name='user',
            field=models.ForeignKey(to=settings.AUTH_USER_MODEL, verbose_name='所属用户'),
        ),
        migrations.AddField(
            model_name='ordercar',
            name='car_id',
            field=models.ForeignKey(to='secondcar.CarDetail', verbose_name='二手车编码'),
        ),
        migrations.AddField(
            model_name='ordercar',
            name='oder',
            field=models.ForeignKey(to='trade.OrderInfo', verbose_name='订单'),
        ),
    ]
